import { request } from "umi";
//定义请求接口的方法内容


//请求列表接口的方法
export const usersList = (params: any={}) => {
    return request('/api/users/list', {
        params
    })
}
export const usersAdd = (data: any) => {
    return request('/api/users/add', {
        method: 'post',
        data
    })
}